// components/icon/icon.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    type: {
      type: String,
      value: ''
    },
    size: {
      type: Number,
      value: 24
    },
    color: {
      type: String,
      value: '#333'
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    icons: {
      home: '\ue900',
      search: '\ue901',
      user: '\ue902',
      cart: '\ue903',
      heart: '\ue904',
      star: '\ue905',
      location: '\ue906',
      phone: '\ue907',
      calendar: '\ue908',
      time: '\ue909',
      arrow: '\ue90a',
      close: '\ue90b',
      check: '\ue90c',
      plus: '\ue90d',
      minus: '\ue90e',
      edit: '\ue90f',
      delete: '\ue910',
      share: '\ue911',
      message: '\ue912',
      notification: '\ue913',
      settings: '\ue914'
    }
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})